package com.example.ssmxuankeback.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

//vo有全部信息
@Data
@Schema(name = "CourseVO", description = "课程视图对象")
public class CourseVO {
    @Schema(description = "课程id")
    private Long courseId;      // 课程编号
    @Schema(description = "课程名称")
    private String courseName;    // 课程名称
    @Schema(description = "学分")
    private Integer credit;       // 学分（1-6）
    @Schema(description = "教师id")
    private Long teacherId;     // 教师ID（教师工号）（（关联users表）
    @Schema(description = "最大选课人数")
    private Integer maxSeats;     // 最大容量
    @Schema(description = "当前选课人数")
    private Integer currentSeats; // 当前选课人数
    @Schema(description = "考试类型")
    private String examType;      // 考试类型
}
